package com.nanosn.coffeemaker.application.commands;

import com.nanosn.coffeemaker.java.ProjectClassLoader;
import com.nanosn.util.parsers.commandline.Command;

/**
 *
 * @author selkhateeb
 */
public class Validate implements Command {

    public void run(String[] args) throws Exception {
        ProjectClassLoader pcl = ProjectClassLoader.getInstance();
        pcl.ValidateModelClasses();
    }

    public String getHelp() {
        return "Validates all installed models (according to the "
               + "INSTALLED_APPS setting) and prints validation errors"
               + " to standard output.";
    }
}
